package com.yc.hotel.service;

import java.util.List;
import java.util.Map;

import com.yc.hotel.dto.UserInfoDTO;
import com.yc.hotel.entity.UserInfo;

public interface IUserInfoService {

	public int reg(UserInfo uf);
	public UserInfo login(Map<String, Object> map);
	public List<UserInfo> findByPage(Map<String, Object> map);
	public int total(Map<String, Object> map);
	public int updateStatus(Map<String, Object> map);
	public int updatePwd(Map<String, Object> map);
	
	//外部调用
	public UserInfoDTO findByUno(int uno);
}
